home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / util / wb / WBStartupPlus.lha / WBStartup+V2.0 / Install < prev    next >
Text File  |  1995-07-16  |  2KB  |  73 lines

  1. ;
  2. ; $PROJECT: WBStartup+
  3. ;
  4. ; (C) Copyright 1995 John Hughes.  All Rights Reserved.
  5. ;
  6.  
  7.  
  8. (
  9.   (working "Installing WBStartup+")
  10.  
  11.  
  12.   (if (exists "SYS:WBStartup/WBStartup+")
  13.     ( ; UPGRADE PREVIOUS VERSION
  14.       (message "A previous version of WBStartup+ has been found.  I will upgrade your version.")
  15.     )
  16.     ( ; INSTALL FOR THE FIRST TIME
  17.       ; Moving the WBStartup files safely
  18.       (
  19.         (rename "SYS:WBStartup" "SYS:WBStartup.temp")
  20.         (makedir "SYS:WBStartup")
  21.         (rename "SYS:WBStartup.temp" "SYS:WBStartup/WBStartup (Enabled)")
  22.       )
  23.  
  24.       ; Creating Disabled Directory
  25.       (makedir "SYS:WBStartup/WBStartup (Disabled)")
  26.     )
  27.   )
  28.  
  29.       ; Copying icon
  30.       (copyfiles
  31.         (prompt "Copying the Enabled icon")
  32.         (source "icons/WBStartup (Enabled).info")
  33.         (dest "SYS:WBStartup")
  34.       )
  35.  
  36.       ; Copying icon
  37.       (copyfiles
  38.         (prompt "Copying the Enabled icon")
  39.         (source "icons/WBStartup (Disabled).info")
  40.         (dest "SYS:WBStartup")
  41.       )
  42.  
  43.       ; Copy WBStartup+
  44.       (copyfiles
  45.         (prompt "Copying the WBStartup+ Executable")
  46.         (help @copyfiles-help)
  47.         (source "WBStartup+")
  48.         (dest "SYS:WBStartup")
  49.         (infos)
  50.       )
  51.  
  52.       ; Copy WBStartup+Prefs
  53.       (copyfiles
  54.         (prompt "Copying the WBStartup+Prefs Executable\nThis requires AmigaDOS 3.x.")
  55.         (help @copyfiles-help)
  56.         (source "WBStartup+Prefs")
  57.         (dest "SYS:Prefs")
  58.         (confirm)
  59.         (infos)
  60.       )
  61.  
  62.       ; install AmigaGuide file
  63.       (copyfiles
  64.         (prompt "Copying AmigaGuide file")
  65.         (help @copyfiles-help)
  66.         (source "WBStartup+.guide")
  67.         (dest "AmigaGuide:")
  68.         (confirm)
  69.       )
  70.  
  71.     (set @default-dest "SYS:WBStartup")
  72. )
  73.